package com.yzi.core.collection
{
	public class LinkedNode
	{
		private var m_left:LinkedNode;
		private var m_right:LinkedNode;
		
		private var m_item:*;
		
		public function LinkedNode($item:*)
		{
			item = $item;
		}
		
		public function get item(): * { return m_item; }
		
		public function set item($item:*): void { m_item = $item; }
		
		public function get left(): LinkedNode { return m_left; }
		
		public function set left($left:LinkedNode): void { m_left = $left; }
		
		public function get right(): LinkedNode { return m_right; }
		
		public function set right($right:LinkedNode): void { m_right = $right; }
		
		public function toString(): String { return "[LinkedNode item : " + m_item.toString() + " ]"; }
	}
}